package com.zhangbo.share.api.impl;

import com.zhangbo.share.annotation.DataBaffle;
import com.zhangbo.share.dubbo.api.IServiceApi;
import com.zhangbo.share.dubbo.dto.ResultInfoDTO;
import com.zhangbo.share.dubbo.vo.InputInfoVO;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * Created by zhangbo on 2022/10/22.
 */
@DubboService
public class ServiceApiImpl implements IServiceApi {

    @Override
    @DataBaffle(group = "share-service",code = "call")
    public ResultInfoDTO call(InputInfoVO inputInfoVO) {
        ResultInfoDTO resultInfoDTO = new ResultInfoDTO();
        resultInfoDTO.setResultCode("200");
        resultInfoDTO.setResultMsg("dubbo 响应参数");
        return resultInfoDTO;
    }
}
